Print actions

Manages print tasks.

PrintGraphicReport

Prints a graphic report.

Parameter Description
reportName Assigns a name to the report
silent false = allows to set printer properties at runtime
fileName

File name (available only for PDF reports)

Supported placeholders:

  • %n = Report name
  • %p = Project name
  • %y = Year, %M = Month, %d = Day
  • %h = Hour, %m = Minutes, %s = Seconds.
folderPath

Folder Path (available only for PDF reports)

Note that the pathname of the arguments field uses native OS format (see "HMI devices capabilities").

  • On Linux devices
    Path for USB Device is "/mnt/usbmemory"
    "testFolder" will be inside "/mnt/data/hmi/qthmi/deploy/testFolder"
Signed

When the output is a PDF file, generate a signed file using the x.509 certificate of the panel.

On Linux devices, the BSP v1.0.507 or greater is required

The algorithm to use to signing is defined inside the project properties parameters
See "Project" for the available algorithms

See also:

EmptyPrintQueue

Flushes the current printing queue. If executed while executing a job, the queue is cleared at the end of the job.

PausePrinting

Puts the current printing queue on hold. If executed while executing a job, the queue is paused at the end of the job.

ResumePrinting

Restarts a queue previously put on hold.

AbortPrinting

Stop the execution of the current job and removes it from the queue. If the queue has another job, then, after aborting, the next job starts.